package socket.handler;
import java.io.IOException;

import exception.BadDataException;

import com.tntgroup.sudokuonline.message.Message;

public interface SocketHandler {
	public Message readSocket() throws BadDataException;
	public void writeSocket(Message message) throws BadDataException;
	public void closeSocket() throws  IOException;
	public void processMessage(Message message);
}
